# -*- coding:utf-8 -*-
# 入口文件
def min_max(list):
    min = list[0]
    max = list[0]
    for i in list:
        if i >= max:
            max = i
    for j in list:
        if j<= min:
            min = j
    print ("最小值："+str(min)+","+"最大值："+str(max))


if __name__ == '__main__':

    list=[1,2,5,6,3,7]
    min_max(list)

